home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 788 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.7 KB

  1. Path: news.cybercomm.net!usenet
  2. From: jwrugo@raven.cybercom.com (John W. Rugo)
  3. Newsgroups: comp.lang.rexx
  4. Subject: Re: HELP! --- Line Counting in OS/2 Rexx
  5. Date: 8 Feb 1996 22:59:53 GMT
  6. Organization: CyberComm Online Services
  7. Distribution: inet
  8. Message-ID: <4fdv99$9h0@crow.cybercomm.net>
  9. References: <4f06c2$h85@news.internetmci.com>
  10. NNTP-Posting-Host: sl-030.sl.cybercomm.net
  11. X-Newsreader: NeoLogic News for OS/2 [version: 4.2]
  12.  
  13. In message <s793f8mjd2d.fsf@profit60.profit.ericsson.se> - Fredric Lonngren  <e
  14. txfln@profit.ericsson.se> writes:
  15. :>
  16. :>>>>>> "PH" == Peter Hansen <peter@engcorp.com> writes:
  17. :>In article <changi0.9m.28dWWg$07E@engcorp.com> peter@engcorp.com (Peter Hansen) writes:
  18. :> PH> In <4f06c2$h85@news.internetmci.com>, ChristopherP.Scott.Scott@InternetMCI.com writes:
  19. :> >> I am writing a rexx program that needs to determine the total number of
  20. :> >> lines in a file.
  21. :>
  22. :> PH> This ought to be in a FAQ. REXX is best used as a mechanism for gluing
  23. :> PH> together other programs to perform special tasks.  In cases like this,
  24. :> PH> you should find other tools that do the job you are trying to do with
  25. :> PH> REXX, and use REXX to manage the overall job and handle special
  26. :> PH> conditions.
  27. :>---
  28. :> PH> The template for this answer should really apply to all those people who
  29. :> PH> keep asking about things like sorting, string-replacement, and really
  30. :> PH> anything else where the solution has already been created by another
  31. :> PH> programmer.  Stand on the shoulders of giants: use REXX as glue!
  32. :>
  33. :>Then we have different opinions about this and programming in general.
  34. :>Sure, sometimes you just want to get the job done as fast as possible
  35. :>and you can use/buy available solutions or parts of solutions. But 
  36. :>often (and especially here since this is a programmer group) the 
  37. :>question is not how to get the job *done*, but how the job *is* done. 
  38. :>To learn and grow into a giant oneself one has to learn about things 
  39. :>like sorting, string-replacement etc. I guess most of those asking 
  40. :>here wants to know how to solve their problems using REXX to learn 
  41. :>as programmers. If they just wanted to get their problems out of the 
  42. :>way they could reassign to the economic department and buy packaged 
  43. :>solutions (from the system department where some poor soul posts to 
  44. :>Usenet to learn some more programming skills :-) . 
  45. :>Learn the skills of the giants, become a giant yourself...
  46. :>-- 
  47. :>--                    _
  48. :>// F r e d r i c    L o n n g r e n            etxfln@profit.ericsson.se
  49. :>// Ericsson. AXE Research and Development       http://www.ericsson.com/
  50. :>// Adjunct Processor Development TN/UAB/I/TD    T/F + 46 8 719 5226/1568
  51.  
  52.  
  53. Well Said!
  54.  
  55.  
  56. /------------------------------------\
  57. John W. Rugo
  58. jwrugo@raven.cybercom.com
  59.  
  60.